package com.glsc.ngateway.common.base.domain.mysql.gateway.platform;

import javax.persistence.Column;
import javax.persistence.Id;
import java.io.Serializable;

/**
 * 功能描述: <br>
 *
 * @author gaojc
 * @date 2020/12/7 15:13
 */
public class UserRolePK implements Serializable {
    private Long userId;
    private Long roleId;

    @Column(name = "user_id")
    @Id
    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    @Column(name = "role_id")
    @Id
    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

}
